<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<%@ page session="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="utf-8">
<title>用户信息 --代驾通</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">

<!-- Le styles -->
<link rel="stylesheet" href="/htdocs/css/bootstrap.css" type="text/css" />
<link rel="stylesheet" href="/htdocs/css/dj.css" type="text/css" />

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>
<body>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="btn btn-navbar" data-toggle="collapse"
					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
				</a> <a class="brand" href="#">代驾通</a>
				<div class="nav-collapse">
					<ul class="nav">
						<li class="active"><a href="#">Home</a></li>
						<li><a href="#about">关于</a></li>
						<li><a href="#contact">联系我们</a></li>
					</ul>
				</div>
				<!--/.nav-collapse -->
			</div>
		</div>
	</div>


	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span2">
				<ul class="nav nav-pills nav-stacked">
					<li><a href='#'>首页</a></li>
					<li><a href='#'>收藏的师傅</a></li>
					<li class='active'><a href='#'>个人信息</a></li>
				</ul>
			</div>
			<div class="span10">
				<div>
					<ul id="infolist" class="nav nav-tabs">
						<li id="face" class="active"><a
							href="profile.php?action=modify&info_type=face" hidefocus="true">修改头像</a>
						</li>
						<li id="base"><a
							href="profile.php?action=modify&info_type=base" hidefocus="true">基本资料</a>
						</li>

						<li id="link"><a
							href="profile.php?action=modify&info_type=link" hidefocus="true">联系方式</a>
						</li>

						<li id="tags"><a
							href="profile.php?action=modify&info_type=tags" hidefocus="true">个人标签</a></li>

						<li id="education"><a
							href="profile.php?action=modify&info_type=education"
							hidefocus="true">工作教育</a></li>

						<li id="safe"><a
							href="profile.php?action=modify&info_type=safe" hidefocus="true">密码安全</a></li>

						<li id="binding"><a
							href="profile.php?action=modify&info_type=binding"
							hidefocus="true">多帐号绑定</a></li>
					</ul>
				</div>

				<div>
					<table width="100%" height="450">
						<tr>
							<td class="vt"><div class="p15">

									<form:form class="well form-horizontal" id="profile_form" name="profile_form" modelAttribute="fullProfileForm" action="/profile/full.htm" method="post">
										<fieldset>
											<legend>我要成为代驾</legend>
											<div class="control-group">
												<label><strong>姓名</strong></label>
												<form:input path="name" class="input-xlarge" />
												<form:errors path="name" />
											</div>

											<div class="control-group">
												<label><strong>性别</strong></label>
												<form:radiobutton path="sex" value="1" />
												男 &nbsp;&nbsp;
												<form:radiobutton path="sex" value="0" />
												女
												<form:errors path="sex" />
											</div>

											<div class="control-group">
												<label><strong>联系电话</strong></label>
												<form:input path="tel" cssClass="input-xlarge"
													cssErrorClass="input-error" />
												<form:errors path="tel" cssClass="text-error" />
											</div>

											<div class="control-group">
												<label><strong>出生年份</strong></label>
												<form:input path="birthYear" class="input-xlarge"
													placeholder='4位数字，例：1981' />
												<form:errors path="birthYear" />
											</div>

											<div class="control-group">
												<label><strong>驾龄</strong></label>
												<form:select path="drivingAge" cssStyle="width: 330px;">
													<form:option value="1">1年以上</form:option>
													<form:option value="3">3-5年</form:option>
													<form:option value="5">5-10年</form:option>
													<form:option value="10">10-15年</form:option>
													<form:option value="15">15年以上</form:option>
												</form:select>
												<form:errors path="drivingAge" />
											</div>

											<div class="control-group">
												<label><strong>驾照级别</strong></label>
												<form:select path="drivingLicense" cssStyle="width: 330px;">
													<form:option value="A1">A1</form:option>
													<form:option value="A2">A2</form:option>
													<form:option value="B1">B1</form:option>
													<form:option value="B2">B2</form:option>
													<form:option value="C1">C1</form:option>
												</form:select>
												<form:errors path="drivingLicense" />
											</div>

											<div class="control-group">
												<label><strong>服务区域</strong></label>
												<form:select path="province" cssStyle="width:100px">
													<form:option value="">省份</form:option>
													<form:option value="1000">浙江省</form:option>
												</form:select>
												&nbsp;
												<form:select path="city" cssStyle="width:100px">
													<form:option value="">城市</form:option>
													<form:option value="2000">杭州市</form:option>
												</form:select>
												&nbsp;
												<form:select path="county" cssStyle="width:100px">
													<form:option value="">区县</form:option>
													<form:option value="3000">滨江区</form:option>
												</form:select>
												<form:errors path="county" />
											</div>

											<div class="control-group">
												<label><strong>补充说明</strong></label>
												<form:textarea path="descn" rows="5"
													cssClass="textarea-xlarge" placeholder='资费标准/驾驶技术' />
												<form:errors path="descn" />
											</div>

											<div class="control-group">
												<button type="submit" class="btn btn-large btn-success">提交信息</button>
												<a href="/signin" id="back_login">返回登录</a>
											</div>

										</fieldset>
									</form:form>
								</div>
						</tr>
					</table>
				</div>
			</div>

		</div>
	</div>
</body>
</html>
